/**
 * 
 */
package com.et114.modules.content.vo;

import com.et114.core.dao.vo.BaseVO;

/*
 * @author guanhw
 */
public class CommonContent extends BaseVO {
	private static final long	serialVersionUID	= - 819032431261918446L;
	private Long contentId ; 
	private String contentTitle ; 
	private String content ;
	private Long typeId ; 
	private String subj ; 
	public Long getContentId ( ) {
		return contentId;
	}
	public void setContentId ( Long contentId ) {
		this.contentId = contentId;
	}
	public String getContentTitle ( ) {
		return contentTitle;
	}
	public void setContentTitle ( String contentTitle ) {
		this.contentTitle = contentTitle;
	}
	public String getContent ( ) {
		return content;
	}
	public void setContent ( String content ) {
		this.content = content;
	}
	public Long getTypeId ( ) {
		return typeId;
	}
	public void setTypeId ( Long typeId ) {
		this.typeId = typeId;
	}
	public String getSubj ( ) {
		return subj;
	}
	public void setSubj ( String subj ) {
		this.subj = subj;
	} 
	
	
//	public boolean equals( Object obj ) {
//		System.out.println ( "!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" ) ;
//		if ( obj == null )
//			return false;
//		if ( ! ( obj instanceof CommonContent ) )
//			return false;
//		
//		CommonContent cc = ( CommonContent ) obj ; 
//		 if ( cc.getContentId ( ) != null && getContentId( ) != null )  
//			 return cc.getContentId ( ).equals ( getContentId( ) ) ;
//		 return super.equals( obj );  
//	}
//	
//	public int hashCode ( ) {
//		int hashCode = super.hashCode ( );
//		if ( getContentId ( ) != null ) {
//			hashCode =  getContentId ( ).hashCode ( );
//		}
//		//String s = null ; s.toCharArray ( ) ;
//		System.out.println ( "@>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + hashCode ) ;
//		return hashCode ;
//	}
//	
//	public String toString( ) {
//		return this.getClass ( ) + "@" + this.getContentId ( ) ;
//	}
}
